home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
sort2.zip
/
SORT.TYP
< prev
next >
Wrap
Text File
|
1993-01-04
|
888b
|
30 lines
{ These type definitions were intended to make things clean in the
binary tree routine for SORT }
{ field name rationale: }
{ u -- the "up" pointer }
{ r -- the "right" pointer }
{ l -- the "left" pointer }
{ c -- count of times this field has been stored }
{ ks -- column of key field start position }
{ kl -- key field length }
{ k -- a numeric key (present even if not used for sorting) }
{ d -- the data field -- what was read from the file }
type
lp = ^line; { line pointer }
lh = record u,r,l:lp;
c:integer;
ks,kl:byte;
k:real;end; { line header declaration }
line = record u,r,l: lp;
c: integer;
ks,kl:byte;
k: real;
d: string; end;
{ Btree record declaration }